package com.slipper.sfts.api.broker.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.broker.bo.BrokerAccountBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 交易账号信息表
 */
@ServiceClient
public interface IBrokerAccountSv {
    @FeignRequestMapping("/brokerAccount/queryBy")
    Result<BrokerAccountBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/brokerAccount/queryList")
    Result<List<BrokerAccountBO>> queryList(@RequestBody BrokerAccountBO bo);

    @FeignRequestMapping("/brokerAccount/queryPage")
    Result<List<BrokerAccountBO>> queryPage(@RequestBody BrokerAccountBO bo);

    @FeignRequestMapping("/brokerAccount/save")
    Result<?> save(@RequestBody BrokerAccountBO bo);
    
    @FeignRequestMapping("/brokerAccount/delete")
    Result<?> delete(@RequestBody BrokerAccountBO bo);
}
